package com.demo.bean;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

//生成get\set方法
@Data
//有参数构造函数
@AllArgsConstructor
//无参构造函数
@NoArgsConstructor
@ToString
public class PersonMysql {
    private int id;
    private String name;
    private int age;
    private String sex;
    private String classP;
    private Teacher teacher;

}
